<?php

namespace Application\Entity;


use Doctrine\ORM\Mapping as ORM;
use Application\Repository\ProvinceRepository;
/**
 * User
 *
 * @ORM\Entity(repositoryClass="Application\Repository\ProvinceRepository") @ORM\Table(name="province")
 */
class Province
{
  
    /**
     * @var string
     * @ORM\Id
     * @ORM\Column(name="name", type="string", length=35, nullable=false)
     */
    public $name;
    

    /**
     * @var \Comment
     * @ORM\Id
     * @ORM\ManyToOne(targetEntity="Application\Entity\Country")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="country", referencedColumnName="code")
     * })
     */
    public $country;
    

    /**
     * @var string
     *
     * @ORM\Column(name="population", type="integer", nullable=true)
     */
    public $population;
    

    /**
     * @var string
     *
     * @ORM\Column(name="area", type="float", nullable=true)
     */
    public $area;
    
    
    /**
     * @var string
     *
     * @ORM\Column(name="capital", type="string", length=35, nullable=true)
     */
    public $capital;
    
    /**
     * @var string
     *
     * @ORM\Column(name="capprov", type="string", length=35, nullable=true)
     */
    public $capprov;
    


}
